#ifndef DATAEXCEPTION_H
#define DATAEXCEPTION_H

#include <string>
#include <exception>

using namespace std;
class DataException : public exception
{
        string error;
public:
    DataException(const string&s) throw();
    virtual const char* what()const throw(){return error.c_str();}
    virtual ~DataException()throw(){}
};

#endif // DATAEXCEPTION_H
